﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace OnlineEducation.Helpers
{
    public class ConstantHelper
    {
        public static string ConvertStatus(int status)
        {
            if (status == 1)
            {
                return "有效";
            }
            else
            {
                return "无效";
            }
        }
        public static string ConvertAuditStatus(int status)
        {
            if (status == 1)
            {
                return "审核中";
            }
            else if (status == 2)
            {
                return "通过";
            }
            else
            {
                return "否决";
            }
            
        }
     

       
    }
}
